package com.example.test.config;

import com.example.test.service.MyService;
import org.springframework.context.annotation.Bean;


public class ConfigA {

    public ConfigA() {
    }

    @Bean("myService")
    public MyService MyService() {
        return new MyService();
    }

    //
    public void hello() {
        System.out.println("---------------helllo---------");
    }


}
